package top.mengchaob.deploy.table;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @title：
 * @author: mengchaob
 * @date: 2021年04月28日 23:06
 * @description:
 */
@Entity
@Table(name = "host_info")
public class HostDo {
    @Id
    @Column(length = 64)
    private String id;
    @Column(length = 128)
    private String userName;
    @Column(length = 128)
    private String passWord;
    @Column(length = 4)
    private int port;
    @Column(length = 16)
    private String hostName;
    @Column(length = 16)
    private String host;
    @Column(length = 500)
    private String mark;
    @Column(length = 20)//yyyy-mm-dd hh24:mi:ss
    private String createTime;

    public String getHostName() {
        return hostName;
    }

    public void setHostName(String hostName) {
        this.hostName = hostName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
